package com.ruoyi.web.controller.app;

import cn.dev33.satoken.annotation.SaCheckPermission;
import com.ruoyi.app.domain.bo.AppFeedbackTypeBo;
import com.ruoyi.app.domain.vo.AppFeedbackTypeVo;
import com.ruoyi.app.service.IAppFeedbackTypeService;
import com.ruoyi.common.annotation.Log;
import com.ruoyi.common.annotation.RepeatSubmit;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import com.ruoyi.common.enums.BusinessType;
import com.ruoyi.common.utils.poi.ExcelUtil;
import lombok.RequiredArgsConstructor;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletResponse;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Arrays;
import java.util.List;

/**
 * 反馈类型
 *
 * @author ruoyi
 * @date 2025-11-25
 */
@Validated
@RequiredArgsConstructor
@RestController
@RequestMapping("/app/feedbackType")
public class AppFeedbackTypeController extends BaseController {

    private final IAppFeedbackTypeService iAppFeedbackTypeService;

    /**
     * 查询反馈类型列表
     */
    @GetMapping("/list")
    public TableDataInfo<AppFeedbackTypeVo> list(AppFeedbackTypeBo bo, PageQuery pageQuery) {
        return iAppFeedbackTypeService.queryPageList(bo, pageQuery);
    }

}
